import Box from '@mui/material/Box';

import { PhotoView, PhotoProvider } from 'react-photo-view';



export default function SimpleSnackbar() {

  const handleClick = () => {
    console.log(123);
  };



  return (
    <div>
      <Box component='div'>
        <Box component='img'
          src='/assets/icons/image.svg'
        />

        <p>使用提示词来生成图片</p>

      </Box>

      <PhotoProvider>
        <PhotoView src="/1.jpg">
          <img src="https://p3-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/8c59efc9be7a448a85cb6c85592bf576~tplv-k3u1fbpfcp-zoom-in-crop-mark:1512:0:0:0.awebp?" alt="" />
        </PhotoView>
      </PhotoProvider>

    </div>
  );
}